package com.yang.utils.info;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author yangdacheng
 * @title: AlipayBean
 * @projectName note_api
 * @description: TODO
 * @date 2022/3/12 11:32 上午
 */
@Component
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class AlipayBean {
    @Value("${alipay.appID}")
    private String appID; //应用编号
    @Value("${alipay.rsaPrivateKey}")
    private String rsaPrivateKey; //私钥
    @Value("${alipay.notifyUrl}")
    private String notifyUrl; //异步返回地址
    @Value("${alipay.returnUrl}")
    private String returnUrl; //放回地址
    @Value("${alipay.url}")
    private String url; //网关地址
    @Value("${alipay.charset}")
    private String charset; //编码
    @Value("${alipay.format}")
    private String format; //放回格式
    @Value("${alipay.aliPayPublicKey}")
    private String aliPayPublicKey; //公钥
    @Value("${alipay.singType}")
    private String singType; //签名方式
}
